#include <iostream>

int main()
{
    std::cout << "\
4 \
0 \
999999 1000000 1000000 1000000 1000000 999999 999999 999999 \
0 10000000 10000000 0 10000000 10000000 0 0 \
3 2000000 4 2000000.1 3.5 2000000 4 2000000 \
200000 200000 200000.0001 200000.0001 200000 200000.0001 200000.0001 200000";
    return 0;
}